WP_Defender\Controller\Firewall D

Total Complexity 160
Dependencies 46
Dependents 18
Total lines 1,320
Lines of code 838
Logical lines of code 416
Comment lines 318
Methods 35
Properties 5

Methods 35

Method Rating Maintainability Complexity Lines of code
actions_for_blocked()
B
32 20 96
save_settings()
A
41 13 61
maybe_lockout()
A
44 12 44
agf_unlock_user()
A
44 10 41
config_strings()
A
48 10 34
maybe_extend_mime_types()
A
51 9 25
verify_blocked_user()
A
47 8 39
maybe_show_demo_lockout()
S
49 6 33
maybe_lockout_gathered_ips()
S
58 7 15
schedule_cleanup_blocklist_ips_event()
S
52 6 25
export_strings()
S
50 5 28
__construct()
S
39 2 72
sync_ip_header()
S
53 5 22
handle_detect_ip_header()
S
56 5 18
mark_page_visited()
S
61 5 13
to_array()
S
52 3 27
check_attempt_counter_by()
S
59 3 14
print_emoji_script()
S
60 3 13
send_again()
S
61 3 12
data_frontend()
S
46 1 38
get_summary()
S
56 2 19
empty_logs()
S
58 2 18
remove_data()
S
56 2 18
empty_lockouts()
S
58 2 18
menu_title()
S
66 3 9
send_unlock_email()
S
52 1 27
enqueue_assets()
S
64 2 10
import_data()
S
69 2 7
extend_mime_types()
S
71 2 6
dashboard_activation()
S
61 1 12
get_title()
S
82 1 3
main_view()
S
81 1 3
remove_settings()
S
67 1 9
dashboard_widget()
S
74 1 5
clean_up_unlockout()
S
75 1 4